package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 人脸闸机虚拟卡片对象 t_face_gate_card
 * 
 * @author crm
 * @date 2023-04-10
 */
public class TFaceGateCard extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String serialNumber;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String cardNo;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String userId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String cardName;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String cardPasswd;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String cardStatus;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String cardStatusName;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long cardType;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String cardTypeName;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String useTimes;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long firstEnter;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long enable;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date startTime;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date endTime;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long recordNo;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String faceDeviceDir;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String faceSelfDir;

    /** 设备ID */
    @Excel(name = "设备ID")
    private Long deviId;

    /** 用户编号：学号（学生时），职工号（教职工） */
    @Excel(name = "用户编号：学号", readConverterExp = "学=生时")
    private String userCode;

    /** 用户类型：1-学生，2教职工 */
    @Excel(name = "用户类型：1-学生，2教职工")
    private String userType;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date modifyTime;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String modifyBy;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSerialNumber(String serialNumber) 
    {
        this.serialNumber = serialNumber;
    }

    public String getSerialNumber() 
    {
        return serialNumber;
    }
    public void setCardNo(String cardNo) 
    {
        this.cardNo = cardNo;
    }

    public String getCardNo() 
    {
        return cardNo;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setCardName(String cardName) 
    {
        this.cardName = cardName;
    }

    public String getCardName() 
    {
        return cardName;
    }
    public void setCardPasswd(String cardPasswd) 
    {
        this.cardPasswd = cardPasswd;
    }

    public String getCardPasswd() 
    {
        return cardPasswd;
    }
    public void setCardStatus(String cardStatus) 
    {
        this.cardStatus = cardStatus;
    }

    public String getCardStatus() 
    {
        return cardStatus;
    }
    public void setCardStatusName(String cardStatusName) 
    {
        this.cardStatusName = cardStatusName;
    }

    public String getCardStatusName() 
    {
        return cardStatusName;
    }
    public void setCardType(Long cardType) 
    {
        this.cardType = cardType;
    }

    public Long getCardType() 
    {
        return cardType;
    }
    public void setCardTypeName(String cardTypeName) 
    {
        this.cardTypeName = cardTypeName;
    }

    public String getCardTypeName() 
    {
        return cardTypeName;
    }
    public void setUseTimes(String useTimes) 
    {
        this.useTimes = useTimes;
    }

    public String getUseTimes() 
    {
        return useTimes;
    }
    public void setFirstEnter(Long firstEnter) 
    {
        this.firstEnter = firstEnter;
    }

    public Long getFirstEnter() 
    {
        return firstEnter;
    }
    public void setEnable(Long enable) 
    {
        this.enable = enable;
    }

    public Long getEnable() 
    {
        return enable;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setRecordNo(Long recordNo) 
    {
        this.recordNo = recordNo;
    }

    public Long getRecordNo() 
    {
        return recordNo;
    }
    public void setFaceDeviceDir(String faceDeviceDir) 
    {
        this.faceDeviceDir = faceDeviceDir;
    }

    public String getFaceDeviceDir() 
    {
        return faceDeviceDir;
    }
    public void setFaceSelfDir(String faceSelfDir) 
    {
        this.faceSelfDir = faceSelfDir;
    }

    public String getFaceSelfDir() 
    {
        return faceSelfDir;
    }
    public void setDeviId(Long deviId) 
    {
        this.deviId = deviId;
    }

    public Long getDeviId() 
    {
        return deviId;
    }
    public void setUserCode(String userCode) 
    {
        this.userCode = userCode;
    }

    public String getUserCode() 
    {
        return userCode;
    }
    public void setUserType(String userType) 
    {
        this.userType = userType;
    }

    public String getUserType() 
    {
        return userType;
    }
    public void setModifyTime(Date modifyTime) 
    {
        this.modifyTime = modifyTime;
    }

    public Date getModifyTime() 
    {
        return modifyTime;
    }
    public void setModifyBy(String modifyBy) 
    {
        this.modifyBy = modifyBy;
    }

    public String getModifyBy() 
    {
        return modifyBy;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("serialNumber", getSerialNumber())
            .append("cardNo", getCardNo())
            .append("userId", getUserId())
            .append("cardName", getCardName())
            .append("cardPasswd", getCardPasswd())
            .append("cardStatus", getCardStatus())
            .append("cardStatusName", getCardStatusName())
            .append("cardType", getCardType())
            .append("cardTypeName", getCardTypeName())
            .append("useTimes", getUseTimes())
            .append("firstEnter", getFirstEnter())
            .append("enable", getEnable())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("recordNo", getRecordNo())
            .append("faceDeviceDir", getFaceDeviceDir())
            .append("faceSelfDir", getFaceSelfDir())
            .append("deviId", getDeviId())
            .append("userCode", getUserCode())
            .append("userType", getUserType())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("modifyTime", getModifyTime())
            .append("modifyBy", getModifyBy())
            .toString();
    }
}
